#!/bin/bash
cd `dirname $0`
dir=`pwd`
app_path=$dir/lynis
if [ -d "$app_path" ] 
then
    cd $app_path ; git pull
else
    git clone https://gitee.com/azhao-1981/lynis.git
fi

cd $app_path
./lynis audit system
